<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script type="text/javascript" src="${pageContext.request.contextPath}/js/calendar.js"></script>
  <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/style/style.css"></link>
  <style type="text/css">
    form{
      margin: 5px 0;
    }

    fieldset{
      padding: 0 1em 1em 1em;
      margin: auto;
      width: 400px;
      display: block;
    }

    fieldset div{
      margin: 5px 0;
    }

    legend {
      padding: 1em;
    }

    label{
      float: left;
      width: 100px;
    }

    #content div input{
      width: 200px;
    }

    fieldset.buttons{
      border: solid 1px #ffffff;
      text-align: center;
      display:block;
      margin-top: 20px;
    }

  </style>
  <title>新建订单</title>
</head>
<body>
<div id="container">
  <jsp:include page="/WEB-INF/page/header.jsp"></jsp:include>
  <jsp:include page="/WEB-INF/page/menu.jsp"></jsp:include>
  <div id="content">
    <form action="${pageContext.request.contextPath}/member/regist.action" method="post">
      <fieldset>
        <legend>登录信息[必选]</legend>
        <div>
          <label for="username">用户名</label>
          <input type="text" name="username" id="username" />
        </div>
        <div>
          <label for="password">密码</label>
          <input type="password" name="pwd" id="password" />
        </div>
        <div>
          <label for="repassword">重复密码</label>
          <input type="password" name="repassword" id="repassword" />
        </div>
      </fieldset>
      <fieldset>
        <legend>联系信息[可选]</legend>
        <div>
          <label for="name">联系人</label>
          <input type="text" name="name" id="name"/>
        </div>
        <div>
          <label for="phone">联系电话</label>
          <input type="text" name="phone" id="phone"/>
        </div>
        <div>
          <label for="email">电子邮件</label>
          <input type="text" name="email" id="email"/>
        </div>
      </fieldset>
      <fieldset class="buttons">
        <input type="submit" value="注册" />
      </fieldset>
    </form>
    ${message}
  </div>
  <hr />
  <jsp:include page="/WEB-INF/page/footer.jsp"></jsp:include>
</div>
</body>
</html>